package com.stock.mapper;

import com.stock.pojo.entity.StockBlockRtInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @description 针对表【stock_block_rt_info(股票板块详情信息表)】的数据库操作Mapper
* @Entity com.stock.pojo.entity.StockBlockRtInfo
*/
//@Mapper
public interface StockBlockRtInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(StockBlockRtInfo record);

    int insertSelective(StockBlockRtInfo record);

    StockBlockRtInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StockBlockRtInfo record);

    int updateByPrimaryKey(StockBlockRtInfo record);

    /**
     * 批量插入大盘数据
     * @param stockBlockRtInfos
     * @return
     */
    int insertBatch(@Param("list") List<StockBlockRtInfo> stockBlockRtInfos);
}
